package com.xqit.ydzhkt.answer.service;

import com.xqit.ydzhkt.entity.AnswerEntity;
import com.xqit.ydzhkt.entity.QuestionEntity;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * Created by Janus on 2020/6/9
 */
public interface ListAnswerService {
    QuestionEntity listAnswer(@RequestParam("id")int id,
                              @RequestParam(defaultValue = "1",value = "pageNum") Integer pageNum,
                              @RequestParam(defaultValue = "2",value = "pageSize") Integer pageSize);
}
